package org.hong.samples.service;

import java.io.InputStream;
import java.util.List;

import org.hong.samples.model.ExamUserRole;
import org.hong.samples.model.UserJDBC;
import org.hong.samples.model.Pager.PagerModel;
import org.hong.samples.model.VO.UserJDBCVO;

public interface UserService {
	public List<UserJDBC> findAllUsers();
	public UserJDBCVO getUserVOById(String id);
	public UserJDBC getUserById(String id);
	public void editUser (UserJDBC user) throws Exception;
	public void saveUser (UserJDBC user) throws Exception;
	public void deleteUser(String id) throws Exception;
	public PagerModel<UserJDBCVO> findAllByPage();
	public void saveStudentByExcel(InputStream inputStream, String postfix);
	public void updateUserLoginFailCount(String userId,String count);
	public void updateUserLastLockTime(String userId,String locktime);
	public ExamUserRole getRoleId(String id);
}
